package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
* 获取用户的优惠券列表，根据状态获取不同的列表
* @author wliu
* edit tse
*/
public class MemberCouponGetList extends RudderResponse{

private String couponId = "";


private String name = "";


private String price = "";


private String endTime = "";


private String beginTime = "";


private String type = "";


private List<String> rule = new ArrayList<String>();


/**
* @return couponId
*/
public String getCouponId() {
return this.couponId;
}

/**
* @return couponId
*/
public void setCouponId(String couponId) {
this.couponId = couponId;
}
/**
methodName    CouponId
type          String
name          couponId
defaultType   ""
*/

/**
* @return name
*/
public String getName() {
return this.name;
}

/**
* @return name
*/
public void setName(String name) {
this.name = name;
}
/**
methodName    Name
type          String
name          name
defaultType   ""
*/

/**
* @return price
*/
public String getPrice() {
return this.price;
}

/**
* @return price
*/
public void setPrice(String price) {
this.price = price;
}
/**
methodName    Price
type          String
name          price
defaultType   ""
*/

/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}

/**
* @return endTime
*/
public void setEndTime(String endTime) {
this.endTime = endTime;
}
/**
methodName    EndTime
type          String
name          endTime
defaultType   ""
*/

/**
* @return beginTime
*/
public String getBeginTime() {
return this.beginTime;
}

/**
* @return beginTime
*/
public void setBeginTime(String beginTime) {
this.beginTime = beginTime;
}
/**
methodName    BeginTime
type          String
name          beginTime
defaultType   ""
*/

/**
* @return type
*/
public String getType() {
return this.type;
}

/**
* @return type
*/
public void setType(String type) {
this.type = type;
}
/**
methodName    Type
type          String
name          type
defaultType   ""
*/

/**
* @return rule
*/
public List<String> getRule() {
return this.rule;
}

/**
* @return rule
*/
public void setRule(List<String> rule) {
this.rule = rule;
}
/**
methodName    Rule
type          List<String>
name          rule
defaultType   new ArrayList<String>()
*/

/**


    public static void filter(MemberCouponGetList member) {
        if (member.getCouponId() == null) {
            member.setCouponId("");
        }
        if (member.getName() == null) {
            member.setName("");
        }
        if (member.getPrice() == null) {
            member.setPrice("");
        }
        if (member.getEndTime() == null) {
            member.setEndTime("");
        }
        if (member.getBeginTime() == null) {
            member.setBeginTime("");
        }
        if (member.getType() == null) {
            member.setType("");
        }
        if (member.getRule() == null) {
            member.setRule(new ArrayList<String>());
        }
    }

*/

}
